from fastapi import APIRouter

book = APIRouter()
import models.book


@book.get('/')
def get_all():
    return models.Book.all()



@book.get('/')
def save():
    return models.Book.save(id=1)
